/*
 * IDailyQuotation.java
 * business
 *
 * Created by ChenTao on 2017/6/5.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.model;

import com.yidiandao.business.data.bean.ShareEntity;

import java.util.List;

/**
 * 每日行情 Model
 * <p>
 * Created by ChenTao(chentao7v@gmail.com) on 2017-06-05 18:13
 */
public interface IDailyQuotationModel {

    interface OnAccessNetListener<T> {

        void onSuccess(T t, boolean emptyResult, boolean hasMoreData, ShareEntity shareEntity);

        void onFailed();

    }

    void loadDailyData(boolean isRefreshing, String tag, OnAccessNetListener<List<Object>> listener);

}
